Re: Keeping track of page updates
by terry morse <tmorse(at)terrymorse.com>
|
Date: |
Wed, 18 Aug 1999 13:27:39 -0700 |
To: |
"Guy Hoyle" <ghoyle1(at)airmail.net> |
Cc: |
hwg-basics(at)hwg.org |
References: |
airmail |
|
todo: View
Thread,
Original
|
|
>I want to be able to keep track (on a web page) when the other pages on my
>website have been updated. In other words, I want an updates page which
>displays the following type of info automatically:
>
>HOME.HTM updated 7/27/99
>PHOTOS.HTM updated 1/21/99
>LINKS.HTM updated 7/13/99
>
>etc., without me having to change the dates manually.
>
>Any idea how to accomplish this?
>
A little perl script can accomplish that easily. stat() returns
modification date, as well as other file statistics. glob() returns
file names. The rest is left as an exercise for the reader.
terry
-----------------------------------------------------------------------
Terry Morse Software, Inc. <mailto:info(at)terrymorse.com>
voice: +1-650-858-1017 <http://www.terrymorse.com/>
GoClick: turns any Mac file into a Web page with one click
Free download at: http://www.terrymorse.com/
HTML Guild: hwg-basics mailing list archives,
maintained by Web Professionals @ IWA